package com.example.demo.project2.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "project1",path = "provider")
public interface UserApi {

    @GetMapping("getAge")
    String getAge();
}
